﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Device.Location;

namespace CDFWPUG.Model
{
    public class Address
    {
        public string Title { get; set; }
        public string Address1 { get; set; }
        public string Address2 { get; set; }
        public string Town { get; set; }
        public string County { get; set; }
        public string PostCode { get; set; }
        public string Telephone { get; set; }
        public double Latitude { get; set; }
        public double Longitude { get; set; }
        public string Website { get; set; }

        public GeoCoordinate Location
        {
            get
            {
                return new GeoCoordinate(  this.Latitude, this.Longitude);
            }
        }

    }



   
}
